package io.github.yotta.logger.example.order.controller;

import io.github.yotta.logger.anno.annotation.LogModel;
import io.github.yotta.logger.anno.annotation.LogOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yotta
 * @date 2023/4/14 16:22
 */
@RestController
@LogModel("订单管理")
public class OrderController {


    @GetMapping("/order")
    @LogOperation("创建订单")
    public Boolean create() {
        return Boolean.TRUE;
    }
}
